<template>
  <page-form :x-uri="uri" :bind-options="options" :x-tabs="tabs" :bind-data="datas" />
</template>

<script>
import PageForm from '@public/template/page_form.vue';
export default {
  components: {
    PageForm
  },
  data() {
    return {
      uri: 'course/admin/offline/' + this.$route.params.id + '/edit',
      options: {},
      datas: {},
      tabs: [
        {
          title: '面授列表',
          uri: '/course/offline/list',
          meta: {
            permission: 'course.offline.list'
          }
        },
        {
          title: '编辑面授',
          uri: '/course/offline/' + this.$route.params.id + '/edit',
          meta: {
            permission: 'course.offline.edit'
          }
        }
      ]
    };
  }
};
</script>
